//
//  BoardView.h
//  CocOth
//
//  Created by BrunoCausse on 03/11/10.
//  Copyright 2010-2013 poulailler cie. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class BC_BoardController;


@interface BC_BoardView : NSView {
	
	IBOutlet BC_BoardController		*controller;
	IBOutlet NSMenu					*contextual;
		
	
	//les 5 images d'une case
	NSMutableArray					*sqImages;
	NSArray							*tagImages;
	
	NSRect							boardRect;
	//
	NSPoint							popUpAtRowColumn;
	
	//flag coordonnées
	BOOL							showCoordinated;
	BOOL							blackTrait;
	
	//
	BOOL							showLegalsMove;
	
	//
	BOOL							dragDropLigthFlag;

}

- (IBAction)setTagImage:(id)sender;
- (IBAction)removeVariation:(id)sender;

- (void)showHideCoordinated;

- (void)loadDesign2D:(NSString *)folderName;

- (void)keyDown:(NSEvent *)theEvent;

@end
